<?php /* Smarty version 2.6.16, created on 2008-07-03 10:42:23
         compiled from admin/header.tmpl */ ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title><?php if ($this->_tpl_vars['_TITLE']):  echo $this->_tpl_vars['_TITLE']; ?>
 - <?php endif; ?>CubesCMS</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="/a/css/niftyCorners.css" type="text/css" media="print, projection, screen" />
<link rel="stylesheet" href="/a/css/admin/admin.css" type="text/css" media="print, projection, screen" />
<link rel="stylesheet" href="/a/css/common.css" type="text/css" media="print, projection, screen" />

<link rel="stylesheet" href="/a/css/admin/jquery.treeview.css" />

<!--link rel="stylesheet" href="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/css/admin/red-treeview.css" />
<link rel="stylesheet" href="<?php echo $this->_tpl_vars['BASE_URL']; ?>
/css/admin/screen.css" /-->
<!-- <script type="text/javascript" src='<?php echo $this->_tpl_vars['BASE_URL']; ?>
/js/js_include.php5'></script> -->
<script type="text/javascript" src="/a/js/niftycube.js"></script>

<link rel="stylesheet" type="text/css" href="/a/css/admin/vertical.css" media="screen" />
<script type="text/javascript" src="/a/js/jQuery/jquery-1.2.1.pack.js"></script>
<script type="text/javascript" src="/a/js/jQuery/superfish/helperPlugins.js"></script>
<script type="text/javascript" src="/a/js/jQuery/superfish/superfish.js"></script>

<script src="/a/js/jQuery/jquery.history_remote.pack.js" type="text/javascript"></script>
<script src="/a/js/jQuery/jquery.tabs.pack.js" type="text/javascript"></script>

<script src="/a/js/jQuery/tree/jquery.cookie.js" type="text/javascript"></script>
<script src="/a/js/jQuery/tree/jquery.treeview.js" type="text/javascript"></script>


<script type="text/javascript">
window.onload=function(){
	<?php if (! $this->_tpl_vars['no_tabs']): ?>$('#contenttabs').tabs();<?php endif; ?>
	Nifty("div#container");
	Nifty("div#content,div#nav","same-height small");
	Nifty("div#header,div#footer","small");

/*	$("#tree").treeview({
		persist: "location",
		collapsed: true,
		unique: true
	});*/

	$("#gray").treeview({
			control: "#treecontrol",
			persist: "cookie"
	});
	
	$(".nav").superfish({
//		animation : { opacity:"show",height:"show"}
	});
}
</script>
</head>
<body>
<div id="container">
	<div id="header">
		<div id="hide_top" style="display: block;">
		<?php if ($this->_tpl_vars['is_logged']): ?>
		<?php echo $this->_tpl_vars['header_text']; ?>

		<a href="/admin/system/setup#edittop"><img src="/a/images/edit.gif" border="0" alt="редактировать" title="редактировать" onClick="show_form('show_top','hide_top');"></a>
		<?php else: ?>
		<h1>CubesCMS</h1>
		<?php endif; ?>
		</div>
		
	</div>